import { Component } from 'angular2/core';
import { RouteConfig, ROUTER_DIRECTIVES } from 'angular2/router';
import { CinemaComponent } from '../../bundles/cinema/component';
import { FilmComponent } from '../../bundles/film/component';

@Component({
    templateUrl: 'app/bundles/filmGroup/tpls/component.html',
    directives: [ ROUTER_DIRECTIVES ],
    styles: [
        `a {
            display: block;
        }`
    ]
})
@RouteConfig([
    {
        path: '/cinema',
        name: 'Cinema',
        component: CinemaComponent,
        useAsDefault: true
    },
    {
        path: '/film',
        name: 'Film',
        component: FilmComponent
    }
])
export class FilmGroupComponent {
    
}